跳到主要内容

文件操作

删除文件

adb shell rm -rf /dir1/test1/test

批量删除符合条件的文件

adb shell rm -rf /dir1/test1/test*

批量删除符合条件的文件(不区分大小写)

 adb shell 'find /dir1/test1 -maxdepth 1 -iname "TesT*" -exec rm -rf {} \;'